﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TR.AppService.Dto;
using TR.AppService.Dto.RKGLDto;
using TR.Domain.Entity;
using TR.Domain.Entity.CKGL;
using TR.Domain.Entity.RK;

namespace TR.AppService.AppService.CKGL
{
    public interface Iwh_Outbill_hAppService
    {
        //出库管理表添加
        Task<bool> CKGLInsert(CKGLJcxx jcxx,List<CKGLCkmx> ckmx);

        //查询出库关联单号
        Task<DtoFenYe<CKDHGuanlian>> CKGuanlian(int mys, int dqy, string? dqsj, string? jssj, CKGLDHTjDto tj);

        //根据销售单号查询对应商品
        Task<List<XSDHchaHP>> XSDHChahp(string sale_code, HPTj tj);

        //出库管理主表查询
        Task<DtoFenYe<CKGL_SelectZB>> CKGLSelect(int mys, int dqy, CKGLZbTjCx tj);

        //出库批量删除
        Task<bool> CKGLDelete(List<int> isdel);
    }
}
